package com.example.mqtt.service

import com.example.mqtt.domain.RecordChangeData
import com.example.mqtt.repository.RecordChangeDataRepository
import org.springframework.beans.factory.annotation.Autowired
import org.springframework.stereotype.Service

@Service
class RecordChangeDataService {

    @Autowired
    lateinit var recordChangeDataRepository: RecordChangeDataRepository;

    fun saveRecordChangeData(recordData:RecordChangeData){
        recordChangeDataRepository.save(recordData);
    }
}